import request from './config/request.js'

//获取宠物列表
export function getpetList(params) {
	return request({
		url: '/api/choker/findChoker',
		method: 'GET',
		data: params,
	});
}
//获取宠物详细
export function getpetdetail(params) {
	return request({
		url: '/api/choker/getChoker',
		method: 'GET',
		data: params,
	});
}
//保存/修改宠物信息
export function modifypetInfo(params) {
	return request({
		url: '/api/choker/save/choker',
		method: 'POST',
		data: params,
	});
}